import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
	{
	  title: 'id',
	  align: "center",
	  dataIndex: 'id',
	},
  {
    title: '公司名称',
    align: "center", resizable: true,
    dataIndex: 'companyName'
  },
  {
    title: '余额',
    align: "center", resizable: true,
    dataIndex: 'amount'
  },
  {
    title: '负责人',
    align: "center", resizable: true,
    dataIndex: 'person'
  },
  {
    title: '负责人电话',
    align: "center", resizable: true,
    dataIndex: 'phone'
  },
  {
    title: '联系地址',
    align: "center", resizable: true,
    dataIndex: 'contactAddress'
  },


];

// 高级查询数据
export const superQuerySchema = {
  companyName: {title: '公司名称',order: 0,view: 'text', type: 'string',},
  contactAddress: {title: '联系地址',order: 1,view: 'textarea', type: 'string',},
  companyQualification: {title: '公司资质',order: 2,view: 'text', type: 'string',},
  creditCode: {title: '统一社会信用代码/纳税人识别号',order: 3,view: 'text', type: 'string',},
  bankName: {title: '银行名称',order: 4,view: 'text', type: 'string',},
  branchInfo: {title: '支行信息',order: 5,view: 'text', type: 'string',},
  bankAccount: {title: '银行账号',order: 6,view: 'text', type: 'string',},
  cnapsCode: {title: '联行号',order: 7,view: 'text', type: 'string',},
  ordinaryTaxRate: {title: '普票税率',order: 8,view: 'number', type: 'number',},
  specializeTaxRate: {title: '专票税率',order: 9,view: 'number', type: 'number',},
  otherRemarks: {title: '其他备注',order: 10,view: 'textarea', type: 'string',},
};
